function draw() {

	var money = $("#money").val().trim();
	var reg = /^(([1-9]\d*)|0)(\.\d{1,2})?$/;
	if (money == null || money == "") {
		P2PWAP.ui.toast("请输入提现金额");
		return;
	}
	if (isNaN(money)) {
		P2PWAP.ui.toast("提现金额必须为数字");
		return;
	}
	var canDrawMoney = $("#canDrawMoney").val();
	if (parseFloat(money) > parseFloat(canDrawMoney)) {
		P2PWAP.ui.toast("提现金额已超出账户可余额!");
		return;
	}
	if (parseFloat(money) <= 0) {
		P2PWAP.ui.toast("提现金额不能小于等于0");
		return;
	}
	if (!reg.test(money)) {
		P2PWAP.ui.toast("提现金额格式不对(金额最多精确到分)");
		return;
	}
	var hiddenJcarryTotalAmount = $("#hidden_Jcarry_totalAmount").val();
	if(parseFloat(hiddenJcarryTotalAmount-money).toFixed(2)<2){
		P2PWAP.ui.toast("由于提现需要手续费2元，您最多提现"+(hiddenJcarryTotalAmount-2)+"元");
		return;
	}
	var bankcard_id = $("input[name='bankcard_no']:checked").val();
	new Helper.RemoteTrans({
		params : {
			money : money,
			bankCardId : bankcard_id
		},
		url : Helper.basePath + "/draw/draw.htm",
		isAsync : false,
		onSuccess : function(jsonData) {
			if (jsonData.isSuccess) {
				var direc_page = window.open("");
				direc_page.document
						.write(jsonData.returnValue.orderFormContent);
			} else {

				alert(jsonData.message);
			}
		},
		onError : function(data) {
			alert(data.message);
		}
	}).send();
}